﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Banner
{
    internal class BannerCreateArguments : DBArguments
    {
        public int BannerID
        {
            get { return Convert.ToInt32(GetValue("codeBannerID", 0)); }
            set { SetValue("codeBannerID", value); }
        }

        public string ImageURL
        {
            get { return Convert.ToString(GetValue("strImageURL", string.Empty)); }
            set { SetValue("strImageURL", value); }
        }

        public string Link
        {
            get { return Convert.ToString(GetValue("strLink", string.Empty)); }
            set { SetValue("strLink", value); }
        }

        public byte LinkType
        {
            get { return Convert.ToByte(GetValue("codeLinkType", (byte)0)); }
            set { SetValue("codeLinkType", value); }
        }

        public string ManagerName
        {
            get { return Convert.ToString(GetValue("strManagerName", string.Empty)); }
            set { SetValue("strManagerName", value); }
        }
    }
}